<?php if(count($ctx->getFavorites['result'])>0) { 
?>
<tal:block tal:repeat="favorites  getFavorites/result">
<div class="MarTop10">
<div class="pad_bt5 BotBorder">
<div class="Fleft MarRgt10">
<div><img src="/images/TaskIcon.png" /></div>
<div class="txt_sm"><?php echo ago(strtotime($ctx->favorites['added_date']));?></div>
</div>
<div class="Fleft">
<div>
<strong>
<a href="/journals/index/journals-view/<?php echo base64_encode($ctx->favorites['id']).'/'.$ctx->startDate;?>" class="fontgrey txt13"><?php echo $ctx->this->showFavLink($ctx->favorites['type_id'], $ctx->favorites['type']);?></a></strong></div>
</div>
<div class="clear"></div>
</div>
</div>
</tal:block>
<div id="topPagerId" class="paginat"></div>
<?php } else { ?>
<div style="padding:100px 50px"><b><center>No favorites found</center></b></div>
<?php } ?>

